/**
 * MCGetNextLackingPart.java
 */
package commands.model;
import dataTypes.File;

/**
 * Request to return a number of next lacking part of a download file.
 * @author Michal Kolodziejski
 */
public class MCGetNextLackingPart extends ModelCommand {
	/** A file of which a number of next lacking part is requested. */
	private File file;
	
	
	/**
	 * Constructor
	 * @param file a file of which a number of next lacking part is requested
	 */
	public MCGetNextLackingPart(File file){
		super(ModelCommandType.GET_NEXT_LACKING_PART);
		this.file = file;
	}

	/**
	 * @return the file of which a number of next lacking part is requested
	 */
	public File getFile() {
		return file;
	}
}
